﻿.typeahead {
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    display: inline-block;
    padding: 4px 6px;
    margin-bottom: 10px;
    color: #555;
    vertical-align: middle;
    border-radius: 4px;
    max-width: 100%;
    line-height: 22px;
}

.typeahead input {
    border: none;
    box-shadow: none;
    outline: none;
    background-color: transparent;
    padding: 0;
    margin: 0;
    width: auto !important;
    max-width: inherit;
}

.typeahead input::-moz-placeholder {
    color: #999999;
}

.typeahead input:focus {
    border: none;
    box-shadow: none;
}

.typeahead .busy-indicator {
    display: none;
    /*&:before{
                        content: 'busy...';
                }*/
}

.typeahead .busy-indicator.busy {
    display: inline;
}

.typeahead .tag {
    margin-right: 2px;
    cursor: default;
}

.typeahead .tag .remove {
    margin-left: 8px;
    cursor: pointer;
}

.typeahead .tag .remove:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.typeahead .tag .remove:hover:active {
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.typeahead .results {
    background-color: #fff;
    -moz-box-shadow: -3px 5px 7px 0px #33363b;
    -webkit-box-shadow: -3px 5px 7px 0px #33363b;
    box-shadow: -3px 5px 7px 0px #33363b;
    /*width: 350px;*/
    width: auto !important;
    max-width: inherit;
    padding: 10px;
    margin-top: 6px;
    border-radius: 4px;
}

.typeahead .results .results-group {
    /*clear: both;*/
}

.typeahead ul {
    background-color: #FFF;
    margin: 0;
    /*margin-left: 107px;*/
    padding: 0;
    list-style: none;
    /*float: right;*/
    max-height: 250px;
    overflow-y: auto;
}

.typeahead .search-button {
    cursor: pointer;
}

.typeahead .search-button.busy:before {
    content: '\e030';
}

.typeahead .suggestions-header,
.typeahead .results-header,
.typeahead .commands-header {
    color: black;
    font-style: italic;
    font-weight: bold;
    margin-bottom: 3px;
}

.typeahead .results-item,
.typeahead .suggestions-item,
.typeahead .commands-item {
    width: 100%;
    display: block;
    margin: auto;
    text-align: left;
    min-height: 24px;
    padding: 5px;
    cursor: pointer;
}

.typeahead .results-item.active,
.typeahead .suggestions-item.active,
.typeahead .commands-item.active {
    background-color: #e7e7e7;
    border-radius: 2px;
}

.typeahead .results-item.active .name,
.typeahead .suggestions-item.active .name,
.typeahead .commands-item.active .name {
    color: #2c2c2c;
}

.typeahead .results-item a,
.typeahead .suggestions-item a,
.typeahead .commands-item a {
    text-decoration: none;
    color: inherit;
}
